package com.youi.entity;

import java.util.Date;
import java.util.List;
import java.sql.*;


import java.io.Serializable;


/**
 * 商家信息
 * @author XJY
 */
public class Merchant implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private Long merchantGroupId;			    //商户分组id
	private Long merchantClassId;			    //商户分类id
	private Integer status;					    //状态(-1驳回 0申请中 1待入驻 2入驻中 3暂停中 4即将到期)
	private Integer yipiaoStatus;				//易票联状态(0未同步 1已通过)
	private Integer yibaoStatus;				//易宝入网状态(-1注册失败 0未注册 1注册中 2注册成功)
	private String name;					    //商户名称
	private String shortName;					//商户简称
	private String merchantCode;				//商家编码
	private Integer nature;					    //商户性质(0旗舰店 1专卖店 2专营店 3自营)
	private String project;					    //主营项目
	private String ranges;					    //经营范围(多个逗号隔开)
	private String province;				    //省
	private String city;					    //市
	private String district;					//区
	private String contacts;					//联系人
	private String phone;					    //手机号码
	private String email;					    //邮箱
	private String introduce;				    //商户简介
	private String address;					    //商户地址
	private String merchantPhone;			    //商户电话
	private Integer isRecommend;			    //推荐(0否 1是)
	private String brandName;				    //品牌名称
	private String brandIntroduce;			    //品牌简介
	private String account;					    //商家后台账户名
	private String password;					//商家后台密码
	private Integer accountNum;					//子账户数量
	private Integer goodsNum;					//商品数量
	private Date gmtServiceEnd;					//服务结束时间
	private Double commissionRatio;			    //抽成比例
	private String merchantNo;					//易宝分账方标识
	private String requestNo;					//易宝入网请求号
	private String yibaoRemark;					//易宝注册失败原因
	private String businessLicense;			    //营业执照信息(json数据)
	private String gapMsg;					    //药品经营许可证(json数据)
	private String gspMsg;					    //药品经营质量管理规范认证证书(json数据以key:value的形式储存)
	private String idtscMsg;					//互联网药品交易服务资格证书(json数据以key:value的形式储存)
	private String idisqcMsg;					//互联网药品信息服务资格证书(json数据以key:value的形式储存)

	private List<Merchantimgs> merchantimgList;	//商家图库
	
    public Merchant(){

    }

    public Merchant(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Merchant(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,Long merchantGroupId,Long merchantClassId,Integer status,String name,String shortName,String merchantCode,Integer nature,String project,String ranges,String province,String city,String district,String contacts,String phone,String email,String introduce,String address,String merchantPhone,Integer isRecommend,String brandName,String brandIntroduce,String account,String password,Integer accountNum,Integer goodsNum,Date gmtServiceEnd,Double commissionRatio,String businessLicense,String gapMsg,String gspMsg,String idtscMsg,String idisqcMsg) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.merchantGroupId=merchantGroupId;
       this.merchantClassId=merchantClassId;
       this.status=status;
       this.name=name;
       this.shortName=shortName;
       this.merchantCode=merchantCode;
       this.nature=nature;
       this.project=project;
       this.ranges=ranges;
       this.province=province;
       this.city=city;
       this.district=district;
       this.contacts=contacts;
       this.phone=phone;
       this.email=email;
       this.introduce=introduce;
       this.address=address;
       this.merchantPhone=merchantPhone;
       this.isRecommend=isRecommend;
       this.brandName=brandName;
       this.brandIntroduce=brandIntroduce;
       this.account=account;
       this.password=password;
       this.accountNum=accountNum;
       this.goodsNum=goodsNum;
       this.gmtServiceEnd=gmtServiceEnd;
       this.commissionRatio=commissionRatio;
       this.businessLicense=businessLicense;
       this.gapMsg=gapMsg;
       this.gspMsg=gspMsg;
       this.idtscMsg=idtscMsg;
       this.idisqcMsg=idisqcMsg;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public Long getMerchantGroupId() {
		return merchantGroupId;
	}

	public void setMerchantGroupId(Long merchantGroupId) {
		this.merchantGroupId = merchantGroupId;
	}

	public void setMerchantClassId(Long merchantClassId){
		this.merchantClassId=merchantClassId;
	}

	public Long getMerchantClassId(){
		return merchantClassId;
	}

	public void setStatus(Integer status){
		this.status=status;
	}

	public Integer getStatus(){
		return status;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getName(){
		return name;
	}

	public void setShortName(String shortName){
		this.shortName=shortName;
	}

	public String getShortName(){
		return shortName;
	}

	public void setMerchantCode(String merchantCode){
		this.merchantCode=merchantCode;
	}

	public String getMerchantCode(){
		return merchantCode;
	}

	public void setNature(Integer nature){
		this.nature=nature;
	}

	public Integer getNature(){
		return nature;
	}

	public void setProject(String project){
		this.project=project;
	}

	public String getProject(){
		return project;
	}

	public void setRanges(String ranges){
		this.ranges=ranges;
	}

	public String getRanges(){
		return ranges;
	}

	public void setProvince(String province){
		this.province=province;
	}

	public String getProvince(){
		return province;
	}

	public void setCity(String city){
		this.city=city;
	}

	public String getCity(){
		return city;
	}

	public void setDistrict(String district){
		this.district=district;
	}

	public String getDistrict(){
		return district;
	}

	public void setContacts(String contacts){
		this.contacts=contacts;
	}

	public String getContacts(){
		return contacts;
	}

	public void setPhone(String phone){
		this.phone=phone;
	}

	public String getPhone(){
		return phone;
	}

	public void setEmail(String email){
		this.email=email;
	}

	public String getEmail(){
		return email;
	}

	public void setIntroduce(String introduce){
		this.introduce=introduce;
	}

	public String getIntroduce(){
		return introduce;
	}

	public void setAddress(String address){
		this.address=address;
	}

	public String getAddress(){
		return address;
	}

	public void setMerchantPhone(String merchantPhone){
		this.merchantPhone=merchantPhone;
	}

	public String getMerchantPhone(){
		return merchantPhone;
	}

	public void setIsRecommend(Integer isRecommend){
		this.isRecommend=isRecommend;
	}

	public Integer getIsRecommend(){
		return isRecommend;
	}

	public void setBrandName(String brandName){
		this.brandName=brandName;
	}

	public String getBrandName(){
		return brandName;
	}

	public void setBrandIntroduce(String brandIntroduce){
		this.brandIntroduce=brandIntroduce;
	}

	public String getBrandIntroduce(){
		return brandIntroduce;
	}

	public void setAccount(String account){
		this.account=account;
	}

	public String getAccount(){
		return account;
	}

	public void setPassword(String password){
		this.password=password;
	}

	public String getPassword(){
		return password;
	}

	public void setAccountNum(Integer accountNum){
		this.accountNum=accountNum;
	}

	public Integer getAccountNum(){
		return accountNum;
	}

	public void setGoodsNum(Integer goodsNum){
		this.goodsNum=goodsNum;
	}

	public Integer getGoodsNum(){
		return goodsNum;
	}

	public void setGmtServiceEnd(Date gmtServiceEnd){
		this.gmtServiceEnd=gmtServiceEnd;
	}

	public Date getGmtServiceEnd(){
		return gmtServiceEnd;
	}

	public void setCommissionRatio(Double commissionRatio){
		this.commissionRatio=commissionRatio;
	}

	public Double getCommissionRatio(){
		return commissionRatio;
	}

	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}

	public String getGapMsg() {
		return gapMsg;
	}

	public void setGapMsg(String gapMsg) {
		this.gapMsg = gapMsg;
	}

	public String getGspMsg() {
		return gspMsg;
	}

	public void setGspMsg(String gspMsg) {
		this.gspMsg = gspMsg;
	}

	public String getIdtscMsg() {
		return idtscMsg;
	}

	public void setIdtscMsg(String idtscMsg) {
		this.idtscMsg = idtscMsg;
	}

	public String getIdisqcMsg() {
		return idisqcMsg;
	}

	public void setIdisqcMsg(String idisqcMsg) {
		this.idisqcMsg = idisqcMsg;
	}

	public Integer getYipiaoStatus() {
		return yipiaoStatus;
	}

	public void setYipiaoStatus(Integer yipiaoStatus) {
		this.yipiaoStatus = yipiaoStatus;
	}

	public List<Merchantimgs> getMerchantimgList() {
		return merchantimgList;
	}

	public void setMerchantimgList(List<Merchantimgs> merchantimgList) {
		this.merchantimgList = merchantimgList;
	}

	public Integer getYibaoStatus() {
		return yibaoStatus;
	}

	public void setYibaoStatus(Integer yibaoStatus) {
		this.yibaoStatus = yibaoStatus;
	}

	public String getMerchantNo() {
		return merchantNo;
	}

	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

	public String getYibaoRemark() {
		return yibaoRemark;
	}

	public void setYibaoRemark(String yibaoRemark) {
		this.yibaoRemark = yibaoRemark;
	}

	public String getRequestNo() {
		return requestNo;
	}

	public void setRequestNo(String requestNo) {
		this.requestNo = requestNo;
	}



}
